<%--
  Created by IntelliJ IDEA.
  User: 邢式瑞
  Date: 2022/9/7
  Time: 11:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>密码</td>
        <td>状态</td>
        <td>操作</td>
    </tr>
<c:forEach items="${list}" var="user">
   <tr>
       <td>${user.uid}</td>
       <td>${user.username}</td>
       <td>${user.password}</td>
       <td>${user.status}</td>
       <td>
           <a href="add.jsp">添加</a>
           <a href="update.jsp">修改</a>
           <a href="deleteServlet?id=${user.uid}">删除</a>
       </td>
   </tr>
</c:forEach>
</table>
</body>
</html>
